package cn.shengchao.examstar.product.acl.ports.repositories;

import cn.shengchao.examstar.rpc.product.base.ProductPropertyDto;
import cn.shengchao.examstar.rpc.product.base.ProductUserOrderExpiredDto;
import cn.shengchao.examstar.rpc.product.req.ProductUserOrderExpiredPageQuery;
import cn.shengchao.examstar.rpc.product.res.ProductUserOrderExpiredVo;

import java.util.Date;
import java.util.List;

/**
 * @program: examstarapi
 * @description: 产品合作配置
 * @author: Xiong weiqiang
 * @create: 2025-06-27 20:09
 */
public interface IProductUserOrderExpiredRepository {

    void saveOrderProductExpired(ProductUserOrderExpiredDto productUserOrderExpiredDto);

    void recalSaveCourseExpired(Long userId, ProductPropertyDto productPropertyDto, String orderId, Date orderTime);

    List<ProductUserOrderExpiredVo> pageList(ProductUserOrderExpiredPageQuery query);
}